#ifndef _PUSHER_H_
#define _PUSHER_H_
#include "flv_main.h"
#include "http.h"
class pusher : public http
{
public :
    oal_int32       socket_id;//推流用户的socket fd
    oal_int32       push_user_id;//推流用户的id
    oal_int32       private_id;
    stream_entry   *entry; //指向flv实体
    oal_uint8      *recv_buff;//接收buf
    oal_int32       buf_len;
    oal_bool        find_mysql_flag;
    pusher()
    {
        
    }
    ~pusher()
    {

    }
    oal_void pusher_clear()
    {
        http_clear();
        socket_id = 0;
        push_user_id = 0;
        private_id = 0;
        buf_len = buffer_size;
        data_addr = recv_buff;
        find_mysql_flag = false;
    }
};
#endif